<%@ page contentType="text/html;charset=utf-8" language="java" %>
<%@pageisELIgnored="false"%>
<html>
<head>
<title>登录界面</title>
</head>
<body>
<span style="color:red;font-weight:bold">
<%
 String err = (String) request.getAttribute("err");
 if(err!=null){
  out.print(err+"<br/>");
 }
%>
</span>

<form action="${pageContext.request.contextPath}/student/login" method="post">
学号：<input type="text" name="stuId"/>
密码：<input type="password" name="pwd"/>
登录：<input type="submit"/>
</form>
</body>
</html>
